package com.woniu.sharepark.platformsystem.log.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author zy
 * @date 2019/6/3 15:20
 * 日志信息实体类
 */
public class Log {
    private Integer loId;

    private String loOperate;

    private Integer lId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date lTime;

    private String loAddress;

    private Integer lFlag;

    public Integer getLoId() {
        return loId;
    }

    public void setLoId(Integer loId) {
        this.loId = loId;
    }

    public String getLoOperate() {
        return loOperate;
    }

    public void setLoOperate(String loOperate) {
        this.loOperate = loOperate;
    }

    public Integer getlId() {
        return lId;
    }

    public void setlId(Integer lId) {
        this.lId = lId;
    }

    public Date getlTime() {
        return lTime;
    }

    public void setlTime(Date lTime) {
        this.lTime = lTime;
    }

    public String getLoAddress() {
        return loAddress;
    }

    public void setLoAddress(String loAddress) {
        this.loAddress = loAddress;
    }

    public Integer getlFlag() {
        return lFlag;
    }

    public void setlFlag(Integer lFlag) {
        this.lFlag = lFlag;
    }

    public Log(String loOperate, Integer lId, Date lTime, String loAddress, Integer lFlag) {

        this.loOperate = loOperate;
        this.lId = lId;
        this.lTime = lTime;
        this.loAddress = loAddress;
        this.lFlag = lFlag;
    }

    @Override
    public String toString() {
        return "Log{" +
                "loId=" + loId +
                ", loOperate='" + loOperate + '\'' +
                ", lId=" + lId +
                ", lTime=" + lTime +
                ", loAddress='" + loAddress + '\'' +
                ", lFlag=" + lFlag +
                '}';
    }
}